package xyz.xmh.pattern.j2ee.businessdelegatepattern;

/**
 * @author Administrator
 * <p>
 * 客户端
 */
public class Client {

    private final BusinessDelegate businessService;

    public Client(BusinessDelegate businessService) {
        this.businessService = businessService;
    }

    public void doTask() {
        businessService.doTask();
    }
}
